package com.beordie.version_2.mvc;

import java.util.Map;

/**
 * @Description
 * @Date 2022/2/17 10:34
 * @Created 30500
 */
public class BODModelAndView {
    private String viewName;
    private Map<String, ?> model;

    public BODModelAndView(String viewName) {
        this.viewName = viewName;
    }

    public BODModelAndView(String viewName, Map<String, ?> model) {
        this.viewName = viewName;
        this.model = model;
    }

    public String getViewName() {
        return viewName;
    }

    public Map<String, ?> getModel() {
        return model;
    }
}
